package org.example.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.commonapi.domain.School;
import org.example.user.service.SchoolService;
import org.example.commonapi.mapper.SchoolMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
* @author DELL
* @description 针对表【school】的数据库操作Service实现
* @createDate 2024-06-13 21:51:15
*/
@Service
public class SchoolServiceImpl extends ServiceImpl<SchoolMapper, School>
    implements SchoolService{

    @Resource
    SchoolMapper schoolMapper;

    @Override
    public List<School> listSchool(String schoolName) {
        return schoolMapper.listSchool(schoolName);
    }
}




